package com.longfor.dragonshard.common.constant;


/**
 * 系统常量
 *
 * @author mayee
 * Created on 2017/3/31 18:35
 *
 * @version v1.0
 */
public class ConfigConstants {

    public static String CACHE_SPLIT_KEY = "|";

    /**
     * 图形验证码
     */
    public static class VALIDATE {
        public static String CACHE_PER_KEY_VALIDATE_IP = "CACHE_PER_KEY_VALIDATE_IP";

        /**
         * 宽度
         */
        public static int VALIDATE_IMG_WIDTH = 120;
        /**
         * 高度
         */
        public static int VALIDATE_IMG_HEIGHT = 30;
        /**
         * 字符个数
         */
        public static int VALIDATE_IMG_CODE_COUNT = 4;
        /**
         * 干扰线数
         */
        public static int VALIDATE_IMG_LINE_COUNT = 50;
        /**
         * 字体大小
         */
        public static int VALIDATE_IMG_FONT_SIZE = 20;
    }

}
